package cn.jinjimi.app.custom.entity;

import java.io.Serializable;
import java.util.List;

/**
 * 保单信息
 * Created by Roy on 2016/6/7.
 */
public class Insurance implements Serializable {

    public static final int PAYMENT_DATE = 0;

    public static final int Channel_hand = 1;
    public static final int Channel_online = 2;
    public static final int Channel_give = 3;
    public static final int Channel_direct = 4;

    public static final int Pay_mode_month = 1;
    public static final int Pay_mode_year = 2;
    public static final int Pay_mode_whole = 3;

    //唯一id
    private int id;
    //代理人id
    private int agent_id;
    //代理人姓名
    private String agent_name;
    //渠道，1：手工添加；2：在线投保；3：赠险；4：直销
    private int channel;
    //客户编号
    private int customer_id;
    //客户姓名
    private String customer_name;
    //续费天数
    private int difference;
    //保单生效日
    private long effect_date;
    //头像地址
    private String head_image_url;
    //被保人姓名
    private String insured_name;
    //保单名称
    private String name;
    //	付费方式，1：月缴；2：年缴；3：趸交
    private int pay_mode;
    //保单续费提现链接
    private String remind_url;
    //续费日期
    private long renew_date;
    //保单期限
    private int term;
    //总保额
    private int total_coverage;
    //总保费
    private int total_premium;
    // 保单详情链接
    private String view_url;
    //续保地址
    private String renewal_url;

    private List<Insurance> policys;

    public List<Insurance> getPolicys() {
        return policys;
    }

    public void setPolicys(List<Insurance> policys) {
        this.policys = policys;
    }

    public String getCustomer_name() {
        return customer_name;
    }

    public void setCustomer_name(String customer_name) {
        this.customer_name = customer_name;
    }

    public String getHead_image_url() {
        return head_image_url;
    }

    public void setHead_image_url(String head_image_url) {
        this.head_image_url = head_image_url;
    }

    public int getDifference() {
        return difference;
    }

    public void setDifference(int difference) {
        this.difference = difference;
    }

    public String getRemind_url() {
        return remind_url;
    }

    public void setRemind_url(String remind_url) {
        this.remind_url = remind_url;
    }

    public int getCustomer_id() {
        return customer_id;
    }

    public void setCustomer_id(int customer_id) {
        this.customer_id = customer_id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public long getEffect_date() {
        return effect_date;
    }

    public void setEffect_date(long effect_date) {
        this.effect_date = effect_date;
    }

    public long getRenew_date() {
        return renew_date;
    }

    public void setRenew_date(long renew_date) {
        this.renew_date = renew_date;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getTerm() {
        return term;
    }

    public void setTerm(int term) {
        this.term = term;
    }


    public int getAgent_id() {
        return agent_id;
    }

    public void setAgent_id(int agent_id) {
        this.agent_id = agent_id;
    }

    public String getAgent_name() {
        return agent_name;
    }

    public void setAgent_name(String agent_name) {
        this.agent_name = agent_name;
    }

    public int getTotal_coverage() {
        return total_coverage;
    }

    public void setTotal_coverage(int total_coverage) {
        this.total_coverage = total_coverage;
    }

    public int getTotal_premium() {
        return total_premium;
    }

    public void setTotal_premium(int total_premium) {
        this.total_premium = total_premium;
    }

    public String getInsured_name() {
        return insured_name;
    }

    public void setInsured_name(String insured_name) {
        this.insured_name = insured_name;
    }

    public int getPay_mode() {
        return pay_mode;
    }

    public void setPay_mode(int pay_mode) {
        this.pay_mode = pay_mode;
    }

    public int getChannel() {
        return channel;
    }

    public void setChannel(int channel) {
        this.channel = channel;
    }

    public String getView_url() {
        return view_url;
    }

    public void setView_url(String view_url) {
        this.view_url = view_url;
    }

    public String getRenewal_url() {
        return renewal_url;
    }

    public void setRenewal_url(String renewal_url) {
        this.renewal_url = renewal_url;
    }
}
